/* eslint-disable camelcase */
const ok = '2002'
const token_expired = '2005'
const token_invalid = '2006'
const errer = '2004'
const http_ok = 200

const login_DEL = '1001'
const login_FREEZE = '1003'
const login_OK = '1002'
const login_ERROR = '1004'
const login_EXIST = '1005'
const login_PASSWORD_ERROR = '1006'

/**
 * 登录接口
 */
const login = '/login/toLogin'

/**
 * 用户退出
 */
const exit = '/login/exit'

/**
 * 用户导航栏数据
 * 权限加载
 */
const getLeftTreeListUser = '/user/getLeftTreeListUser'
/**
 * 获取系统设置配置
 */
const config = '/sys/config'

/**
 * 获取系统配置列表
 */
const configList = '/sys/configList'
/**
 * 获取导航数据
 */
const getNavigationByUser = '/sys/getNavigationByUser'
/**
 * 获取角色信息
 */
const getRoleByUser = '/sys/getRoleByUser'

export default {
  ok,
  token_expired,
  token_invalid,
  http_ok,
  errer,
  login,
  getLeftTreeListUser,
  config,
  login_DEL,
  login_FREEZE,
  login_OK,
  login_ERROR,
  login_EXIST,
  login_PASSWORD_ERROR,
  getNavigationByUser,
  getRoleByUser,
  configList,
  exit
}
